package Demo03;/**
 * @author 韩映晖
 * @date 2022/2/3 19:04
 * @version 1.0
 */


public class Demo03Student {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setName("鹿晗");
        stu.setAge(20);
        stu.setMale(true);

        System.out.println("姓名："+stu.getName());
        System.out.println("年龄是："+stu.getAge());
        System.out.println("性别是男性。："+stu.isMale());
    }
}
